package com.mind.adjust.mapper;

import com.mind.system.domain.AjBasicMaterialmapping;
import java.util.List;

/**
 * (AjBasicMaterialmapping)表数据库访问层
 *
 * @author makejava
 * @since 2024-12-02 13:40:00
 */
public interface AjBasicMaterialmappingMapper {

    /**
     * 查询数据集合
     * 
     * @param basicMaterialmapping 信息
     * @return 数据集合
     */
    public List<AjBasicMaterialmapping> selectBasicMaterialmappingList(AjBasicMaterialmapping basicMaterialmapping);

    /**
     * 通过ID查询信息
     * 
     * @param basicMaterialmappingId ID
     * @return 角色对象信息
     */
    public AjBasicMaterialmapping selectBasicMaterialmappingById(Long basicMaterialmappingId);

    /**
     * 删除信息
     * 
     * @param basicMaterialmappingId ID
     * @return 结果
     */
    public int deleteBasicMaterialmappingById(Long basicMaterialmappingId);

    /**
     * 批量删除信息
     * 
     * @param basicMaterialmappingIds 需要删除的ID
     * @return 结果
     */
    public int deleteBasicMaterialmappingByIds(Long[] basicMaterialmappingIds);

    /**
     * 修改信息
     * 
     * @param basicMaterialmapping 信息
     * @return 结果
     */
    public int updateBasicMaterialmapping(AjBasicMaterialmapping basicMaterialmapping);

    /**
     * 新增信息
     * 
     * @param basicMaterialmapping 信息
     * @return 结果
     */
    public int insertBasicMaterialmapping(AjBasicMaterialmapping basicMaterialmapping);
    
    /**
     * 批量新增信息
     * 
     * @param basicMaterialmappingList 信息
     * @return 结果
     */
    public int insertBasicMaterialmappingBatch(List<AjBasicMaterialmapping> basicMaterialmappingList);
    
    
    /**
     * 根据名称查
     *
     * @param name 名称
     * @return 结果
     */
    AjBasicMaterialmapping selectBasicMaterialmappingByName(String name);
}

